package com.audaque.springboot.foshanupload.schedule.mapper;

import com.audaque.springboot.foshanupload.schedule.model.domain.DynamicScheduleMpgtDo;
import com.audaque.springboot.foshanupload.schedule.model.kbo.DynamicScheduleMpgtKbo;
import com.audaque.springboot.foshanupload.schedule.model.qo.DynamicScheduleMpgtQo;
import com.audaque.springboot.foshanupload.schedule.model.vbo.DynamicScheduleMpgtVbo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * <p>
 * Mapper接口
 * </p>
 *
 * @author zgb
 * @since 2022-04-17
 */
@Mapper
public interface DynamicScheduleMpgtMapper extends BaseMapper<DynamicScheduleMpgtDo> {
    List<DynamicScheduleMpgtDo> queryList(@Param("dynamicScheduleMpgtQo") DynamicScheduleMpgtQo dynamicScheduleMpgtQo);

    DynamicScheduleMpgtDo queryItem(@Param("dynamicScheduleMpgtQo") DynamicScheduleMpgtQo dynamicScheduleMpgtQo);

    List<DynamicScheduleMpgtDo> queryListKbo(@Param("dynamicScheduleMpgtKbo") DynamicScheduleMpgtKbo dynamicScheduleMpgtKbo, @Param("dynamicScheduleMpgtQo") DynamicScheduleMpgtQo dynamicScheduleMpgtQo);

    DynamicScheduleMpgtDo queryItemKbo(@Param("dynamicScheduleMpgtKbo") DynamicScheduleMpgtKbo dynamicScheduleMpgtKbo, @Param("dynamicScheduleMpgtQo") DynamicScheduleMpgtQo dynamicScheduleMpgtQo);

    void insertOnDuplicateKey(@Param("dynamicScheduleMpgtKbo") DynamicScheduleMpgtKbo dynamicScheduleMpgtKbo, @Param("dynamicScheduleMpgtVbo") DynamicScheduleMpgtVbo dynamicScheduleMpgtVbo, @Param("dynamicScheduleMpgtDo") DynamicScheduleMpgtDo dynamicScheduleMpgtDo, @Param("duplicateYn") Boolean duplicateYn);


}
